import React, { Component } from 'react'
import {BrowserRouter} from 'react-router-dom'
import routerConfig from './router/routerConfig'
import RouterView from './router/RouterView'

export class App extends Component {
  render() {
    return (
      <div>
        <BrowserRouter>
          <RouterView routerConfig={routerConfig}></RouterView>
        </BrowserRouter>
      </div>
    )
  }
}

export default App